#ifndef M_MAX7219_H
#define M_MAX7219_H "m_max7219"


#define MAX7219_DECODE_MODE     0x09    // 译码控制寄存器^M
#define MAX7219_INTENSITY       0x0A    // 亮度控制寄存器^M
#define MAX7219_SCAN_LIMIT      0x0B    // 扫描界限寄存器^M
#define MAX7219_SHUT_DOWN       0x0C    // 关断模式寄存器^M
#define MAX7219_DISPLAY_TEST    0x0F    // 测试控制寄存器^M

int m_max2719_init();
int m_max2719_show(unsigned char idx, unsigned char val);

#endif